Displaying 3 results from an estimated 3 matches for "a2mod".
2013 Apr 24
2
puppet apache module dependency cycle
I am trying to use puppetlabs apache module on CentOS to install mod php
package.
class {''apache::mod::php'': }
It returns error "Error: Could not find dependency Package[httpd] for
A2mod[php5]". I am using Puppet 3.1 version.
Do I need to call class{''apache'': } explicitly to get mod-php install
working? If I try that as follows then it returns dependency cycle error.
Can someone provide an example usage to install mod-php and handle main
httpd package...
2011 Aug 01
3
Class inheritance or virtual resources to manage apache modules
..."module1", "module2", "module3", ]
# list apache modules to disable, basically all modules would be
listed here by default
$disable_apachemods = [ "module4", "module5", "module6", ]
# Process list of apache modules to enable
a2mod { $enable_apachemods: ensure => "present", notify =>
Exec["apache2reload"] }
# Process list of apache modules to disable
a2mod { $disable_apachemods: ensure => "absent", notify =>
Exec["apache2reload"] }
}
Then as I have other classes...
2012 Dec 09
4
Catalog compile times > 40s - Puppet 2.7.18
...2012: Time:
Sun Dec 9 13:13:08 2012: Filebucket: 0.00
Sun Dec 9 13:13:08 2012: Resources: 0.00
Sun Dec 9 13:13:08 2012: Package: 0.00
Sun Dec 9 13:13:08 2012: Firewall: 0.01
Sun Dec 9 13:13:08 2012: File: 0.01
Sun Dec 9 13:13:08 2012: A2mod: 0.03
Sun Dec 9 13:13:08 2012: Service: 0.07
Sun Dec 9 13:13:08 2012: Exec: 0.14
Sun Dec 9 13:13:08 2012: Last run: 1355080388
Sun Dec 9 13:13:08 2012: Config retrieval: 42.79
Sun Dec 9 13:13:08 2012: Total: 43.06
Sun Dec 9 13:13:08 2012: Version...