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

Remove classfile puppet.conf setting, update for PE windows #56

Merged
merged 2 commits into from
Jul 24, 2015

Conversation

ericwilliamson
Copy link
Member

This PR contains two fixes for PE users:

The first is reseting the classfile puppet.conf setting for mco inventory. The second is specifying the agent version to that of the compiling master instead of latest.

This commit adds the puppet.conf classfile setting to the list of
settings to be reset during agent ugprade. This is needed primarily for
PE users as the path to that file was set to a different directory at
install time. With the new AIO agent, that file location has changed. To
bring things closer to parity and to continue configuring PE users
mcollective with mco inventory support, `classfile` is no longer being
managed at install time in PE. This commit brings it full circle by
essentially undoing PE's previous one-time configuration of the
`classfile` setting.
Previous to this commit, the windows agent upgrade code would always use
the latest agent version available. In PE, the agent version should be
tied to the master's. However Windows does not have a curl like function
in powershell v2 that supports self signed certificates. This commit
overrides the source url if not specified and the user is in a PE
environment to use the PE download url, specifing the agent version,
sourced from the compiling master.
@ericwilliamson
Copy link
Member Author

Ping @cyberious @jpartlow

@MikaelSmith
Copy link
Contributor

👍

@@ -12,8 +12,17 @@
default => $::puppet_agent::arch
}

if $::puppet_agent::is_pe {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So crazy question, once someone is on the AIO agent and uses this for the next upgrade...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also not explicitly supported, we'll have to verify when we enable running on Puppet 4 agents.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

jpartlow added a commit that referenced this pull request Jul 24, 2015
Remove classfile puppet.conf setting, update for PE windows
@jpartlow jpartlow merged commit db79cad into puppetlabs:master Jul 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants