Skip to content

Conversation

@HAIL9000
Copy link
Contributor

@HAIL9000 HAIL9000 commented May 9, 2012

In Facter pull request 200 the default domian can no longer end
with a trailing '.'. This modifies Puppet's defaults to mirror
that change.

@jeffweiss
Copy link
Contributor

This is a breaking change for Telly. I need to double check the acceptance tests to see if any of them need to change.

@jeffweiss
Copy link
Contributor

Note: This may change the default certname (because now it strips out a trailing .)

(That's why it's a breaking change)

Running acceptance tests now

@jeffweiss
Copy link
Contributor

I'm getting acceptance test failures on this, but they seem to be related to the hiera library being absent. Updating acceptance test framework and trying again.

@slippycheeze
Copy link
Contributor

This needs tests before you add it ... because the change doesn't work. It discards the modified value, and fqdn remains what it was before. :)

@jeffmccune
Copy link
Contributor

Wait... Shouldn't we support a default domain ending in a period?

@HAIL9000
Copy link
Contributor Author

We're looking for a better place to put this, where we can actually test to see if it works.

HAIL9000 added 2 commits May 15, 2012 14:36
In Facter pull request 200 the default domian can no longer end
with a trailing '.'. This modifies Puppet's defaults to mirror
that change.
Move certname logic out of defaults.rb so that the logic can be
tested because it's nearly impossible to test when that logic is
executed at readtime for defaults.rb.
@HAIL9000
Copy link
Contributor Author

Moved the core logic to Puppet::Settings so that we can create tests. Trying to test off defaults.rb was almost impossible.

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