This file contains 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
# usr_local_masterfiles_cfengine/inputs/cf.apache | |
#editfiles: | |
# redhat:: | |
# { /etc/sysconfig/httpd | |
# BeginGroupIfDefined "SITEMINDER_WEBAGENT_V6_INSTALLED" | |
# AppendIfNoSuchLine ". /opt/netegrity/webagent/nete_wa_env.sh # Add siteminder startup environment" | |
# DeleteLinesMatching ". /opt/netegrity/webagent/ca_wa_env.sh # Add siteminder startup environment" | |
# EndGroup | |
# BeginGroupIfDefined "SITEMINDER_WEBAGENT_V12_INSTALLED" | |
# AppendIfNoSuchLine ". /opt/netegrity/webagent/ca_wa_env.sh # Add siteminder startup environment" |
This file contains 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
bundle agent tomcat_inventory | |
{ | |
meta: | |
"tags" slist => { "autorun" }; | |
vars: | |
"java" string => "/usr/bin/java"; | |
methods: | |
"Find Tomcat by catilina.jar" |
This file contains 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
bundle agent ec2_inventory | |
{ | |
meta: | |
"tags" slist => { "autorun" }; | |
classes: | |
"ec2" | |
expression => usemodule("ec2_inventory.pl", "ec2_metadata"), | |
scope => "namespace", | |
meta => { "inventory", "attribute_name=Provider" }; |
This file contains 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
bundle agent tomcat_inventory | |
{ | |
meta: | |
"tags" slist => { "autorun" }; | |
vars: | |
"java" string => "/usr/bin/java"; | |
methods: | |
"Find Tomcat by catilina.jar" |
This file contains 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
bundle agent tomcat_inventory | |
{ | |
meta: | |
"tags" slist => { "autorun" }; | |
vars: | |
"java" string => "/usr/bin/java"; | |
packages: | |
na36_prod_web_0013|na36_prod_web_0011|na36_prod_web_0002|na36_prod_web_0015|na36_prod_web_0004||na36_prod_web_0003|na36_prod_web_0010|na36_prod_web_0005|na36_prod_web_0014|na36_qa_web_0002|na36_prod_web_0012|na36_prod_web_0006|na36_prod_web_0009|na36_prod_web_0008|na36_prod_web_0001|na36_dev_web_0001|na36_qa_web_0001:: |
This file contains 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
bundle edit_line service_present(service_name, port, protocol, comment) | |
{ | |
classes: | |
"service_present" expression => regline( "$(service_name)\s+$(port)/$(protocol).*", $(edit.filename)); | |
insert_lines: | |
!service_present:: | |
"$(service_name)$(const.t)$(port)/$(protocol)$(const.t)#$(comment)"; | |
} |
This file contains 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
bundle edit_line fstab(file_system, mount_point, type, options, dump, pass) | |
{ | |
vars: | |
"e_file_system" string => escape($(file_system)); | |
"e_mount_point" string => escape($(mount_point)); | |
delete_lines: | |
"$(e_file_system)\s+$(e_mount_point)\s.*"; | |
insert_lines: |
This file contains 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
# CFEngine Policy Framework Updates for 3.6.0 | |
Its time for the policy framework upgrade show. Ted and Nick are your hosts. | |
If you follow the CFEngine masterfiles policy framework (the masterfiles you | |
get out of the box) we encourage you to upgrade the policy framework each time | |
you upgrade CFEngine. We reccomend making as few changes as possible to the | |
shipped masterfiles to make these upgrades as painless as possible. Generally | |
the best way to accomplish that is to take your custom policy and integrate it | |
on top of the new masterfiles. |
This file contains 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
# CFEngine Policy Framework Updates for 3.6.0 | |
Its time for the policy framework upgrade show. Ted and Nick are your hosts. | |
If you follow the CFEngine masterfiles policy framework (the masterfiles you | |
get out of the box) we encourage you to upgrade the policy framework each time | |
you upgrade CFEngine. We reccomend making as few changes as possible to the | |
shipped masterfiles to make these upgrades as painless as possible. Generally | |
the best way to accomplish that is to take your custom policy and integrate it | |
on top of the new masterfiles. |
This file contains 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
INFO global: Vagrant version: 1.6.3 | |
INFO global: Ruby version: 2.0.0 | |
INFO global: RubyGems version: 2.0.14 | |
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.3/bin/vagrant" | |
INFO global: VAGRANT_LOG="debug" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/bin/../embedded" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_DETECTED_OS="Linux" | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1" |
OlderNewer