Florian
09/16/2022, 6:49 AMif ($::hostname =~ 'web') {
$notify_web=Service['apache2']
}
file { '/some/file':
ensure => file,
notify => $notify_web,
}
Puppet executes just fine on hosts not starting with "web".
Is this expected behavior? I would consider this a bug and bad code.Florian
09/16/2022, 6:49 AMif ($::hostname =~ 'web') {
$notify_web=Service['apache2']
}
file { '/some/file':
ensure => file,
notify => $notify_web,
}
Puppet executes just fine on hosts not starting with "web".
Is this expected behavior? I would consider this a bug and bad code.bastelfreak
09/16/2022, 6:50 AMbastelfreak
09/16/2022, 6:50 AMFlorian
09/16/2022, 6:53 AMIan CB
09/16/2022, 12:49 PMLumiere
09/16/2022, 3:17 PMLumiere
09/16/2022, 3:18 PMLumiere
09/16/2022, 3:18 PMCVQuesty
09/16/2022, 3:20 PMCVQuesty
09/16/2022, 3:22 PMSetup A Parameter Group to allow SSL termination on the PostgreSQL Server
In the left hand column, click "Parameter Groups"
- Click the "Create parameter Group" button
- In the "Parameter Group Family" drop-down, choose "postgres11"
- Under "Group Name" enter "PuppetDB"
- Under "Description" enter "PuppetDB"
- Click the "Create" button
Once the interface shows the puppetdb Parameter group, click on the link "puppetdb"
- In the "Parameters" search box, search for "ssl"
- Click the orange "Edit Parameters" button.
- Scroll down to "rds.force_ssl". Change the value from "0" to "1" to allow SSL
- Scroll back to the top and click the orange "Save Changes" button.
Apply the new parameter group to the instance
- Click "Databases" in the left column
- Click the text "puppetdb" to bring up the configuration
- click the "Modify" button
Scroll down to the section titled "Additional Configuration
- In the "DB Parameter Group" section choose "puppetdb" from the drop-down
- Scroll to the bottom of the page and click the "Continue" button.
In the "Scheduling of Modifications: section on the next page, select "Immediately" for applying the new parameter group.
Scroll to the bottom and click "Modify DB Instance"
Now your infrastructure should be in place to start building Puppet.
CVQuesty
09/16/2022, 3:23 PMIan CB
09/16/2022, 3:23 PMCVQuesty
09/16/2022, 3:23 PMSlackbot
09/16/2022, 3:50 PMvchepkov
09/16/2022, 3:51 PMIan CB
09/16/2022, 4:00 PMLumiere
09/16/2022, 4:03 PMLumiere
09/16/2022, 4:05 PMIan CB
09/16/2022, 4:08 PMIan CB
09/16/2022, 4:11 PMLumiere
09/16/2022, 4:12 PMLumiere
09/16/2022, 4:12 PMIan CB
09/16/2022, 4:13 PMLumiere
09/16/2022, 4:15 PMLumiere
09/16/2022, 4:15 PMLumiere
09/16/2022, 4:16 PMLumiere
09/16/2022, 4:17 PMLumiere
09/16/2022, 4:17 PMIan CB
09/16/2022, 4:18 PM