Skip to content

Commit

Permalink
(#18228) updates README for style
Browse files Browse the repository at this point in the history
This commit fixes style issues in the getting started README.
  • Loading branch information
Garrett Honeycutt committed Dec 19, 2012
1 parent a313832 commit fd2e990
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions README_GETTING_STARTED.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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? you’re managing. So, what would our manifest look like in this case?


node puppetmaster { node puppetmaster {
# Configure puppetdb and its underlying database # Configure puppetdb and its underlying database
include puppetdb include puppetdb
# Configure the puppet master to use puppetdb
include puppetdb::master::config # Configure the puppet master to use puppetdb
include puppetdb::master::config
} }




Expand Down Expand Up @@ -179,30 +180,30 @@ scenario might look like:


# This node is our Puppet master. # This node is our Puppet master.
node puppet { node puppet {
# Here we configure the puppet master to use PuppetDB, # Here we configure the puppet master to use PuppetDB,
# and tell it that the hostname is ‘puppetdb’ # and tell it that the hostname is ‘puppetdb’
class { 'puppetdb::master::config': class { 'puppetdb::master::config':
puppetdb_server => 'puppetdb', puppetdb_server => 'puppetdb',
} }
} }


# This node is our postgres server # This node is our postgres server
node puppetdb-postgres { node puppetdb-postgres {
# Here we install and configure postgres and the puppetdb # Here we install and configure postgres and the puppetdb
# database instance, and tell postgres that it should # database instance, and tell postgres that it should
# listen for connections to the hostname ‘puppetdb-postgres’ # listen for connections to the hostname ‘puppetdb-postgres’
class { 'puppetdb::database::postgresql': class { 'puppetdb::database::postgresql':
listen_addresses => 'puppetdb-postgres', listen_addresses => 'puppetdb-postgres',
} }
} }


# This node is our main puppetdb server # This node is our main puppetdb server
node puppetdb { node puppetdb {
# Here we install and configure PuppetDB, and tell it where to # Here we install and configure PuppetDB, and tell it where to
# find the postgres database. # find the postgres database.
class { 'puppetdb::server': class { 'puppetdb::server':
database_host => 'puppetdb-postgres', database_host => 'puppetdb-postgres',
} }
} }


That’s it! This should be all it takes to get a 3-node, distributed That’s it! This should be all it takes to get a 3-node, distributed
Expand Down

0 comments on commit fd2e990

Please sign in to comment.