Merge pull request #236 from jason-azze-cdna/readme-suggestion
replace invalid node name variables in 3-node example
This commit is contained in:
commit
b560f88816
1 changed files with 3 additions and 3 deletions
|
@ -106,14 +106,14 @@ scenario might look like:
|
||||||
$master_host = 'master.example.lan'
|
$master_host = 'master.example.lan'
|
||||||
$puppetdb_host = 'puppetdb.example.lan'
|
$puppetdb_host = 'puppetdb.example.lan'
|
||||||
$postgres_host = 'postgres.example.lan'
|
$postgres_host = 'postgres.example.lan'
|
||||||
node $master_host {
|
node 'master.example.lan' {
|
||||||
# Here we configure the Puppet master to use PuppetDB,
|
# Here we configure the Puppet master to use PuppetDB,
|
||||||
# telling it the hostname of the PuppetDB node
|
# telling it the hostname of the PuppetDB node
|
||||||
class { 'puppetdb::master::config':
|
class { 'puppetdb::master::config':
|
||||||
puppetdb_server => $puppetdb_host,
|
puppetdb_server => $puppetdb_host,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
node $postgres_host {
|
node 'postgres.example.lan' {
|
||||||
# Here we install and configure PostgreSQL and the PuppetDB
|
# Here we install and configure PostgreSQL and the PuppetDB
|
||||||
# database instance, and tell PostgreSQL that it should
|
# database instance, and tell PostgreSQL that it should
|
||||||
# listen for connections to the `$postgres_host`
|
# listen for connections to the `$postgres_host`
|
||||||
|
@ -121,7 +121,7 @@ scenario might look like:
|
||||||
listen_addresses => $postgres_host,
|
listen_addresses => $postgres_host,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
node $puppetdb_host {
|
node 'puppetdb.example.lan' {
|
||||||
# Here we install and configure PuppetDB, and tell it where to
|
# Here we install and configure PuppetDB, and tell it where to
|
||||||
# find the PostgreSQL database.
|
# find the PostgreSQL database.
|
||||||
class { 'puppetdb::server':
|
class { 'puppetdb::server':
|
||||||
|
|
Loading…
Reference in a new issue