Created
July 24, 2012 16:52
-
-
Save jbd/3171142 to your computer and use it in GitHub Desktop.
edit_line bundle verbose output
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
cf3> CFEngine - autonomous configuration engine - commence self-diagnostic prelude | |
cf3> ------------------------------------------------------------------------ | |
cf3> Work directory is /var/cfengine | |
cf3> Looking for a source of entropy in /var/cfengine/randseed | |
cf3> Making sure that locks are private... | |
cf3> Checking integrity of the state database | |
cf3> Checking integrity of the module directory | |
cf3> Checking integrity of the PKI directory | |
cf3> -> Loaded private key /var/cfengine/ppkeys/localhost.priv | |
cf3> -> Loaded public key /var/cfengine/ppkeys/localhost.pub | |
cf3> Setting cfengine default port to 5308 = 5308 | |
cf3> Reference time set to Tue Jul 24 18:50:01 2012 | |
cf3> CFEngine Core 3.3.4 | |
cf3> ------------------------------------------------------------------------ | |
cf3> Host name is: cluster-admin.cluster.home.fr | |
cf3> Operating System Type is linux | |
cf3> Operating System Release is 2.6.32-220.4.1.el6.x86_64 | |
cf3> Architecture = x86_64 | |
cf3> Using internal soft-class linux for host cluster-admin.cluster.home.fr | |
cf3> The time is now Tue Jul 24 18:50:01 2012 | |
cf3> ------------------------------------------------------------------------ | |
cf3> # Extended system discovery is only available in version Nova and above | |
cf3> Additional hard class defined as: 64_bit | |
cf3> Additional hard class defined as: linux_2_6_32_220_4_1_el6_x86_64 | |
cf3> Additional hard class defined as: linux_x86_64 | |
cf3> Additional hard class defined as: linux_x86_64_2_6_32_220_4_1_el6_x86_64 | |
cf3> GNU autoconf class from compile time: compiled_on_linux_gnu | |
cf3> Address given by nameserver: 192.168.1.84 | |
cf3> -> No interface exception file /var/cfengine/inputs/ignore_interfaces.rx | |
cf3> Interface 1: lo | |
cf3> Interface 2: eth0 | |
cf3> Interface 3: eth1 | |
cf3> Interface 4: eth1 | |
cf3> Trying to locate my IPv6 address | |
cf3> Looking for environment from cf-monitord... | |
cf3> Loading environment... | |
cf3> Environment data loaded | |
cf3> This appears to be a redhat (or redhat-based) system. | |
cf3> Looking for redhat linux info in "CentOS release 6.3 (Final)" | |
cf3> Reading /proc/stat utilization data ------- | |
cf3> -> Found 8 cpu cores | |
cf3> *********************************************************** | |
cf3> Loading persistent classes | |
cf3> *********************************************************** | |
cf3> *********************************************************** | |
cf3> Loaded persistent memory | |
cf3> *********************************************************** | |
cf3> -> Found a policy server (hub) on 192.168.1.84 | |
cf3> -> Input file is outside default repository, validating it | |
cf3> -> Promises seem to change | |
cf3> -> Input file is changed since last validation, validating it | |
cf3> -> Verifying the syntax of the inputs... | |
cf3> Checking policy with command ""/var/cfengine/bin/cf-promises" -f "./test.cf"" | |
cf3> > Parsing file ./test.cf | |
cf3> Initiate variable convergence... | |
cf3> > Parsing file ./cfengine_stdlib.cf | |
cf3> Initiate variable convergence... | |
cf3> Initiate variable convergence... | |
cf3> -> Defined classes = { 10_10_64_55 192_168_100_100 192_168_1_84 64_bit 8_cpus Day24 Evening GMT_Hr16 Hr18 Hr18_Q4 July Lcycle_2 Min50 Min50_55 PK_MD5_4fd0d4d6a3a3190d3b15123cbf70b448 Q4 Tuesday Yr2012 agent any centos centos_6 centos_6_3 cfengine cfengine_3 cfengine_3_3 cfengine_3_3_4 cfengine_out_low cluster_admin cluster_admin_cluster_home_fr cluster_admin_sis_home_fr cluster_home_fr community_edition compiled_on_linux_gnu cpu0_low cpu1_low cpu2_low cpu3_low cpu_low diskfree_high entropy_cfengine_out_low entropy_misc_in_low entropy_misc_out_low entropy_ssh_out_low fr ipv4_157 ipv4_10_10 ipv4_10_10_64 ipv4_10_10_64_55 ipv4_192 ipv4_192_168 ipv4_192_168_1 ipv4_192_168_100 ipv4_192_168_100_100 ipv4_192_168_1_84 linux linux_2_6_32_220_4_1_el6_x86_64 linux_x86_64 linux_x86_64_2_6_32_220_4_1_el6_x86_64 linux_x86_64_2_6_32_220_4_1_el6_x86_64__1_SMP_Tue_Jan_24_02_13_44_GMT_2012 loadavg_high mac_00_30_48_9e_17_5c mac_00_30_48_9e_17_5d net_iface_eth0 net_iface_eth1 otherprocs_normal home_fr redhat rootprocs_low_normal ssh_out_low users_high verbose_mode x86_64 } | |
cf3> -> Negated Classes = { } | |
cf3> Initiate variable convergence... | |
cf3> -> Additional class defined: am_policy_hub | |
cf3> -> Immunizing against parental death | |
cf3> -> Bundlesequence => {'example'} | |
cf3> | |
cf3> ***************************************************************** | |
cf3> BUNDLE example | |
cf3> ***************************************************************** | |
cf3> | |
cf3> | |
cf3> + Private classes augmented: | |
cf3> | |
cf3> - Private classes diminished: | |
cf3> | |
cf3> | |
cf3> | |
cf3> ========================================================= | |
cf3> files in bundle example (1) | |
cf3> ========================================================= | |
cf3> | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "/tmp/myfile" | |
cf3> ......................................................... | |
cf3> | |
cf3> -> Using literal pathtype for /tmp/myfile | |
cf3> -> File "/tmp/myfile" exists as promised | |
cf3> -> Handling file existence constraints on /tmp/myfile | |
cf3> -> Handling file edits in edit_line bundle editfile | |
cf3> | |
cf3> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
cf3> BUNDLE editfile | |
cf3> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
cf3> | |
cf3> Initiate variable convergence... | |
cf3> | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> vars in bundle editfile | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "sdelim" | |
cf3> ......................................................... | |
cf3> | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "classname" | |
cf3> ......................................................... | |
cf3> | |
cf3> ?? Private class context | |
cf3> | |
cf3> | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> delete_lines in bundle editfile | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: ".*" | |
cf3> ......................................................... | |
cf3> | |
cf3> !! The promised start pattern (#### CFENGINE ANCHOR) found an empty region at the end of file /tmp/myfile | |
cf3> !! The promised line deletion (.*) could not select an edit region in /tmp/myfile (but the delimiters were expected in the file) | |
cf3> | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> insert_lines in bundle editfile | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "#### CFENGINE ANCHOR" | |
cf3> ......................................................... | |
cf3> | |
cf3> -> Promised line "#### CFENGINE ANCHOR" exists within selected region of /tmp/myfile (promise kept) | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "1" | |
cf3> ......................................................... | |
cf3> | |
cf3> -> Inserting the promised line "1" into /tmp/myfile after locator | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "2" | |
cf3> ......................................................... | |
cf3> | |
cf3> -> Inserting the promised line "2" into /tmp/myfile after locator | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "3" | |
cf3> ......................................................... | |
cf3> | |
cf3> -> Inserting the promised line "3" into /tmp/myfile after locator | |
cf3> | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> vars in bundle editfile | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "sdelim" | |
cf3> ......................................................... | |
cf3> | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "classname" | |
cf3> ......................................................... | |
cf3> | |
cf3> ?? Private class context | |
cf3> | |
cf3> | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> delete_lines in bundle editfile | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: ".*" | |
cf3> ......................................................... | |
cf3> | |
cf3> -> Multi-line region (1 lines) matched text in the file | |
cf3> -> Delete chunk of 1 lines | |
cf3> -> Deleting the promised line 1 "1" from /tmp/myfile | |
cf3> ?> defining promise result class _tmp_myfile | |
cf3> -> Multi-line region (1 lines) matched text in the file | |
cf3> -> Delete chunk of 1 lines | |
cf3> -> Deleting the promised line 1 "2" from /tmp/myfile | |
cf3> ?> defining promise result class _tmp_myfile | |
cf3> -> Multi-line region (1 lines) matched text in the file | |
cf3> -> Delete chunk of 1 lines | |
cf3> -> Deleting the promised line 1 "3" from /tmp/myfile | |
cf3> ?> defining promise result class _tmp_myfile | |
cf3> | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> insert_lines in bundle editfile | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "#### CFENGINE ANCHOR" | |
cf3> ......................................................... | |
cf3> | |
cf3> -> This promise has already been verified | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "1" | |
cf3> ......................................................... | |
cf3> | |
cf3> -> This promise has already been verified | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "2" | |
cf3> ......................................................... | |
cf3> | |
cf3> -> This promise has already been verified | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "3" | |
cf3> ......................................................... | |
cf3> | |
cf3> -> This promise has already been verified | |
cf3> | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> vars in bundle editfile | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "sdelim" | |
cf3> ......................................................... | |
cf3> | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "classname" | |
cf3> ......................................................... | |
cf3> | |
cf3> ?? Private class context | |
cf3> | |
cf3> | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> delete_lines in bundle editfile | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> | |
cf3> | |
cf3> . . . . . . . . . . . . . . . . . . . . . . . . . . . . | |
cf3> Skipping whole next edit promise (.*), as var-context !_tmp_myfile is not relevant | |
cf3> . . . . . . . . . . . . . . . . . . . . . . . . . . . . | |
cf3> | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> insert_lines in bundle editfile | |
cf3> = = = = = = = = = = = = = = = = = = = = = = = = = = = = | |
cf3> | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "#### CFENGINE ANCHOR" | |
cf3> ......................................................... | |
cf3> | |
cf3> -> This promise has already been verified | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "1" | |
cf3> ......................................................... | |
cf3> | |
cf3> -> This promise has already been verified | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "2" | |
cf3> ......................................................... | |
cf3> | |
cf3> -> This promise has already been verified | |
cf3> | |
cf3> ......................................................... | |
cf3> Promise's handle: | |
cf3> Promise made by: "3" | |
cf3> ......................................................... | |
cf3> | |
cf3> -> This promise has already been verified | |
cf3> -> No edit changes to file /tmp/myfile need saving | |
cf3> -> Handling file existence constraints on /tmp/myfile | |
cf3> | |
cf3> + Private classes augmented: | |
cf3> | |
cf3> - Private classes diminished: | |
cf3> | |
cf3> | |
cf3> | |
cf3> ========================================================= | |
cf3> files in bundle example (2) | |
cf3> ========================================================= | |
cf3> | |
cf3> | |
cf3> + Private classes augmented: | |
cf3> | |
cf3> - Private classes diminished: | |
cf3> | |
cf3> | |
cf3> | |
cf3> ========================================================= | |
cf3> files in bundle example (3) | |
cf3> ========================================================= | |
cf3> | |
cf3> ==> == Bundle Accounting Summary for "example" == | |
cf3> ==> Promises kept in "example" = 3 | |
cf3> ==> Promises not kept in "example" = 2 | |
cf3> ==> Promises repaired in "example" = 0 | |
cf3> ==> Aggregate compliance (promises kept/repaired) for bundle "example" = 60.0% | |
cf3> Outcome of version (not specified) (agent-0): Promises observed to be kept 60%, Promises repaired 0%, Promises not repaired 40% | |
cf3> -> Checked 1 objects with 1 promises, i.e. model efficiency 50.00% | |
cf3> -> The 1 declared promise patterns actually expanded into 5 individual promises, i.e. declaration efficiency 80.00% | |
cf3> -> No lock purging scheduled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment