Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #11671: Update doc of hooks to add DSC mention and remove cfengine-nova #1768

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -5,7 +5,7 @@
# - RUDDER_NODE_ID : the nodeId
# - RUDDER_NODE_HOSTNAME : the node fully qualified hostname
# - RUDDER_NODE_POLICY_SERVER_ID: the node policy server id
# - RUDDER_AGENT_TYPE : agent type ("cfengine-nova" or "cfengine-community")
# - RUDDER_AGENT_TYPE : agent type ("cfengine-community", "cfengine-nova" or "dsc")


# Errors code on hooks are interpreted as follow:
Expand Down
Expand Up @@ -2,14 +2,14 @@

# Hooks parameter are passed by environment variable:
#
# - RUDDER_NODE_ID: the nodeId
# - RUDDER_NODE_HOSTNAME: the node fully qualified hostname
# - RUDDER_NODE_POLICY_SERVER_ID: the node policy server id
# - RUDDER_AGENT_TYPE : agent type ("cfengine-nova" or "cfengine-community")
# - RUDDER_NODE_ID : the nodeId
# - RUDDER_NODE_HOSTNAME : the node fully qualified hostname
# - RUDDER_NODE_POLICY_SERVER_ID : the node policy server id
# - RUDDER_AGENT_TYPE : agent type ("cfengine-community", "cfengine-nova" or "dsc")
# - RUDDER_POLICIES_DIRECTORY_CURRENT: the full path of the base directory containing policies for that node
# - RUDDER_POLICIES_DIRECTORY_NEW: the full path of the base directory containing next policies for that node (during a generation)
# - RUDDER_POLICIES_DIRECTORY_NEW : the full path of the base directory containing next policies for that node (during a generation)
# - RUDDER_POLICIES_DIRECTORY_ARCHIVE: the full path of the base directory containing previous policies for that node
# - RUDDER_NODE_ROLES: a comma separated list of node's server role name
# - RUDDER_NODE_ROLES : a comma separated list of node's server role name


# Errors code on hooks are interpreted as follow:
Expand Down
Expand Up @@ -5,7 +5,7 @@
# - RUDDER_NODE_ID: the nodeId
# - RUDDER_NODE_HOSTNAME: the node fully qualified hostname
# - RUDDER_NODE_POLICY_SERVER_ID: the node policy server id
# - RUDDER_AGENT_TYPE : agent type ("cfengine-nova" or "cfengine-community")
# - RUDDER_AGENT_TYPE: agent type ("cfengine-community", "cfengine-nova" or "dsc")
# - RUDDER_POLICIES_DIRECTORY_CURRENT: the full path of the base directory containing policies for that node
# - RUDDER_POLICIES_DIRECTORY_NEW: the full path of the base directory containing next policies for that node (during a generation)
# - RUDDER_POLICIES_DIRECTORY_ARCHIVE: the full path of the base directory containing previous policies for that node
Expand Down
Expand Up @@ -6,7 +6,7 @@
# - RUDDER_NODE_ID : the nodeId
# - RUDDER_NODE_HOSTNAME : the node fully qualified hostname
# - RUDDER_NODE_POLICY_SERVER_ID : the node policy server id
# - RUDDER_AGENT_TYPE : agent type ("cfengine-nova" or "cfengine-community")
# - RUDDER_AGENT_TYPE : agent type ("cfengine-community", "cfengine-nova" or "dsc")
# - RUDDER_POLICIES_DIRECTORY_CURRENT: policies directory (for ex for nodes under root: /var/rudder/share/$RUDDER_NODE_ID/rules)

# Errors code on hooks are interpreted as follow:
Expand Down
Expand Up @@ -6,7 +6,7 @@
# - RUDDER_NODE_ID : the nodeId
# - RUDDER_NODE_HOSTNAME : the node fully qualified hostname
# - RUDDER_NODE_POLICY_SERVER_ID : the node policy server id
# - RUDDER_AGENT_TYPE : agent type ("cfengine-nova" or "cfengine-community")
# - RUDDER_AGENT_TYPE : agent type ("cfengine-community", "cfengine-nova" or "dsc")
# - RUDDER_POLICIES_DIRECTORY_NEW: new policies directory (for ex for nodes under root: /var/rudder/share/$RUDDER_NODE_ID/rules.new)

if [ -z "${RUDDER_POLICIES_DIRECTORY_NEW}" ]; then
Expand Down
Expand Up @@ -6,7 +6,7 @@
# - RUDDER_NODE_ID : the nodeId
# - RUDDER_NODE_HOSTNAME : the node fully qualified hostname
# - RUDDER_NODE_POLICY_SERVER_ID : the node policy server id
# - RUDDER_AGENT_TYPE : agent type ("cfengine-nova" or "cfengine-community")
# - RUDDER_AGENT_TYPE : agent type ("cfengine-community", "cfengine-nova" or "dsc")
# - RUDDER_POLICIES_DIRECTORY_NEW: new policies directory (for ex for nodes under root: /var/rudder/share/$RUDDER_NODE_ID/rules.new)

# Errors code on hooks are interpreted as follow:
Expand Down
Expand Up @@ -6,7 +6,7 @@
# - RUDDER_NODE_ID : the nodeId
# - RUDDER_NODE_HOSTNAME : the node fully qualified hostname
# - RUDDER_NODE_POLICY_SERVER_ID : the node policy server id
# - RUDDER_AGENT_TYPE : agent type ("cfengine-nova" or "cfengine-community")
# - RUDDER_AGENT_TYPE : agent type ("cfengine-community", "cfengine-nova" or "dsc")
# - RUDDER_POLICIES_DIRECTORY_NEW: new policies directory (for ex for nodes under root: /var/rudder/share/$RUDDER_NODE_ID/rules.new)

# Errors code on hooks are interpreted as follow:
Expand Down
Expand Up @@ -6,7 +6,7 @@
# - RUDDER_NODE_ID : the nodeId
# - RUDDER_NODE_HOSTNAME : the node fully qualified hostname
# - RUDDER_NODE_POLICY_SERVER_ID : the node policy server id
# - RUDDER_AGENT_TYPE : agent type ("cfengine-nova" or "cfengine-community")
# - RUDDER_AGENT_TYPE : agent type ("cfengine-community", "cfengine-nova" or "dsc")
# - RUDDER_POLICIES_DIRECTORY_NEW: new policies directory (for ex for nodes under root: /var/rudder/share/$RUDDER_NODE_ID/rules.new)

# Correct all file permissions
Expand Down
Expand Up @@ -6,7 +6,7 @@
# - RUDDER_NODE_ID : the nodeId
# - RUDDER_NODE_HOSTNAME : the node fully qualified hostname
# - RUDDER_NODE_POLICY_SERVER_ID : the node policy server id
# - RUDDER_AGENT_TYPE : agent type ("cfengine-nova" or "cfengine-community")
# - RUDDER_AGENT_TYPE : agent type ("cfengine-community", "cfengine-nova" or "dsc")
# - RUDDER_POLICIES_DIRECTORY_NEW: new policies directory (for ex for nodes under root: /var/rudder/share/$RUDDER_NODE_ID/rules.new)

# Errors code on hooks are interpreted as follow:
Expand Down