Hi all.
In old puppet master node with puppetmaster 3.4.3 i use mysql to
storу data.
In [master] section of puppet.conf configured data to access the database:
storeconfigs = true
dbadapter = mysql
dbname = puppetdb
dbuser = puppetdbu
dbpassword = *
dbserver = localhost
it works fine.
O
;apache2'], # Refresh apache after the listen_port
> is changed
> }
>
> package {'nginx':
> ensure => installed,
> require => Service['apache2'], # Install nginx after apache have
> been restarted with another config
> }
>
>
> Le 1
15.05.2017 15:16, R.I.Pienaar пишет:
> Debian is just by design stupid, thinks starting all services
> unconfigured on install is a good idea, suggest you use a OS designed to
> be used on servers and not peoples basements.
Yes this is true...
But I can't change OS at current time.
Question why
;apache2'], # Refresh apache after the listen_port
> is changed
> }
>
> package {'nginx':
> ensure => installed,
> require => Service['apache2'], # Install nginx after apache have
> been restarted with another config
> }
>
>
> Le 1
Hi.
I need stop service (apache) after it install from puppet.
platform is debian 9 and puppet version is 4.8.2
I my class i wrote:
class webpackages {
exec { 'apachechk':
command => "/bin/systemctl stop apache2;",
onlyif => "/bin/grep -c 'Listen 80' /etc/apache2/ports.