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
| [ | |
| { | |
| "module" : "no", | |
| "useshell" : "no", | |
| "class" : "start_shorewall6", | |
| "promisee" : "shorewall6", | |
| "ifelapsed" : "1", | |
| "command" : "/sbin/shorewall6 start" | |
| }, | |
| { |
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
| $ cat Rakefile | |
| require 'rake' | |
| require 'rspec/core/rake_task' | |
| hosts = %w( | |
| atlspf01 | |
| atlspf02 | |
| atlspf03 | |
| atlspf04 | |
| ) |
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
| newatson@ltipc682:~/.cfagent/inputs$ cat rootw.cf | |
| body common control | |
| { | |
| bundlesequence => { "main", }; | |
| } | |
| bundle common main | |
| { | |
| vars: | |
| "cf_version" string => "1.2.3"; |
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
| [ | |
| { | |
| host : "server1", | |
| a : 1, | |
| b : 2 | |
| }, | |
| { | |
| host : "server2", | |
| c : 3, | |
| d : 4 |
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
| body common control | |
| { | |
| bundlesequence => { | |
| "main", | |
| }; | |
| } | |
| bundle agent main | |
| { | |
| methods: |
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
| body common control | |
| { | |
| bundlesequence => { | |
| "main", | |
| }; | |
| } | |
| bundle agent main | |
| { | |
| methods: |
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
| newatson@ltipc682:~/src/serverspec/test$ find | |
| . | |
| ./spec | |
| ./spec/atlspf01 | |
| ./spec/atlspf01/sample_spec.rb | |
| ./spec/spec_helper.rb | |
| ./Rakefile | |
| ./.rspec | |
| newatson@ltipc682:~/src/serverspec/test$ cat Rakefile |
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
| Why is the number prefix in the class not printed? | |
| neil@ettin ~/.cfagent/inputs $ cat yaml.yaml | |
| - bundle: efl_test_simple | |
| class: 1003_efl_test | |
| ifelapsed: 1 | |
| parameter: ../1003/15_efl_test_simple.yaml | |
| promisee: efl development | |
| promiser: Testing main bundle order | |
| - bundle: efl_test_simple |
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
| neil@ettin ~/.cfagent/inputs $ cat rlinder.cf | |
| body common control | |
| { | |
| bundlesequence => { | |
| "main", | |
| }; | |
| } | |
| bundle agent main | |
| { |
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
| CFE policy: | |
| body common control | |
| { | |
| bundlesequence => { holder, test_datastate_mustache }; | |
| } | |
| bundle common holder | |
| { | |
| classes: |