Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

(#18228) updates README for style #26

Merged
merged 1 commit into from

2 participants

@ghoneycutt

This commit fixes style issues in the getting started README.

Garrett Honeycutt (#18228) updates README for style
This commit fixes style issues in the getting started README.
fd2e990
@laurenrother laurenrother merged commit c45f95c into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 19, 2012
  1. (#18228) updates README for style

    Garrett Honeycutt authored
    This commit fixes style issues in the getting started README.
This page is out of date. Refresh to see the latest.
Showing with 21 additions and 20 deletions.
  1. +21 −20 README_GETTING_STARTED.md
View
41 README_GETTING_STARTED.md
@@ -136,10 +136,11 @@ sufficient for many real-world deployments depending on the number of nodes
you’re managing. So, what would our manifest look like in this case?
node puppetmaster {
- # Configure puppetdb and its underlying database
- include puppetdb
- # Configure the puppet master to use puppetdb
- include puppetdb::master::config
+ # Configure puppetdb and its underlying database
+ include puppetdb
+
+ # Configure the puppet master to use puppetdb
+ include puppetdb::master::config
}
@@ -179,30 +180,30 @@ scenario might look like:
# This node is our Puppet master.
node puppet {
- # Here we configure the puppet master to use PuppetDB,
- # and tell it that the hostname is ‘puppetdb’
- class { 'puppetdb::master::config':
- puppetdb_server => 'puppetdb',
- }
+ # Here we configure the puppet master to use PuppetDB,
+ # and tell it that the hostname is ‘puppetdb’
+ class { 'puppetdb::master::config':
+ puppetdb_server => 'puppetdb',
+ }
}
# This node is our postgres server
node puppetdb-postgres {
- # Here we install and configure postgres and the puppetdb
- # database instance, and tell postgres that it should
- # listen for connections to the hostname ‘puppetdb-postgres’
- class { 'puppetdb::database::postgresql':
- listen_addresses => 'puppetdb-postgres',
- }
+ # Here we install and configure postgres and the puppetdb
+ # database instance, and tell postgres that it should
+ # listen for connections to the hostname ‘puppetdb-postgres’
+ class { 'puppetdb::database::postgresql':
+ listen_addresses => 'puppetdb-postgres',
+ }
}
# This node is our main puppetdb server
node puppetdb {
- # Here we install and configure PuppetDB, and tell it where to
- # find the postgres database.
- class { 'puppetdb::server':
- database_host => 'puppetdb-postgres',
- }
+ # Here we install and configure PuppetDB, and tell it where to
+ # find the postgres database.
+ class { 'puppetdb::server':
+ database_host => 'puppetdb-postgres',
+ }
}
That’s it! This should be all it takes to get a 3-node, distributed
Something went wrong with that request. Please try again.