This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commands ping => "/usr/bin/ping" | |
| ... | |
| # we can use it later with: | |
| # ping "www.puppetlabs.com" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package{'postgresql-server': | |
| ensure => present, | |
| } | |
| service{'postgresql': | |
| enable => true, | |
| ensure => running, | |
| hasstatus => true, | |
| require => Package[postgresql-server], | |
| } | |
| file{'/var/lib/pgsql/data/pg_hba.conf': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NICE but not working: | |
| site-mysql/init.pp | |
| class site-mysql inherits mysql { | |
| # operations user | |
| mysql_user{'operations@10.2.111.%': | |
| password_hash => "*DEE65258DA0F2513DE84AD4C1E15557C65602548" | |
| } | |
| mysql_grant{'operations@10.2.111.%': | |
| privileges => 'all', |