Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Heidi Pio updated an issue Hiera / HI-490 Location of hiera.yaml in puppet-agent 1.x is a mistake Change By: Heidi Pio Scrum Team: Language Epic Status: To Do Epic Name: Move hiera.yaml from codedir to confdir Status: Accepted Open Workflow: Scrum Teams Engineering Epic Workflow Issue Type: Bug Epic Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Jean Bond commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake FYI: Docs was flagged in PE-13367 to add this as a known issue in PE, which we are doing. Please add the DOCS tab for a release note or bug fix when this is resolved. Just noting it here because I don't want to lose track of it. Thank you! Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Kylo Ginsberg commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake I've heard no objections to the plan above, either in this ticket or in the thread on puppet-dev: https://groups.google.com/d/msg/puppet-dev/NQBK0vdp2E0/Ev9vksOwDAAJ, based on which I'm moving this to Accepted. We'll need to do a bit of planning to break this out into the Puppet and Hiera tickets plus the PE upgrade logic mentioned above. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Eric Sorenson commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake The conversation on the google doc seemed to coalesce around this proposal: 1. puppet-agent packaging would be updated to install a default hiera.yaml at $confdir/hiera.yaml 2. both puppet and hiera would check in the old location, $codedir/hiera.yaml, and fall back to the new location $confdir/hiera.yaml 3. we would document the new location and encourage users to move their hiera.yaml This then raises the question of when we yank support for the old location, $codedir/hiera.yaml. Here the suggestion is: 1. for puppet-agent this happens in a major release of puppet/hiera/puppet-agent 2. for Puppet Enterprise additionally, we check if there is a $codedir/hiera.yaml and block the upgrade if it exists Looks like we have a decent number of watchers on this ticket, and I'll post to puppet-dev to boost the signal. What do y'all think about this plan? Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Henrik Lindberg updated an issue Hiera / HI-490 Location of hiera.yaml in puppet-agent 1.x is a mistake Change By: Henrik Lindberg Sprint: Language Triage Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Kylo Ginsberg commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake Nick Walker re: users who update would have the stock hiera.yaml instead of the one they want from $codedir right? Yes. That's what I was meaning to get at with this comment and question: I'd also recommend that we add release notes to puppet-agent (and PE) recommending that users who've modified $codedir/hiera.yaml should move their $codedir/hiera.yaml to $confdir/hiera.yaml. However, I don't have a good feeling for whether a documentation note is sufficient or if we would need to offer additional tooling, etc. Thoughts? I'm wondering if we should set up a face-face with stakeholders in this to work through the options. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Henrik Lindberg commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake +1 on the design doc and driving that to consensus/decision first. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Joshua Partlow commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake I think it's going to be a necessity for puppet and hiera to check $confdir then $codedir as Kylo Ginsberg is describing, because in PE 2015.2 we explicitly wrote migration code for the installer to move the hiera.yaml to codedir (on installs). But because we have moved it into codedir, and folks probably have this under source control (particularly current Ankeny installations with file-sync/code-manager), we don't really have the option of automagically moving it back out again on upgrades. Well, actually we could copy back into confdir, we just can't remove it from codedir. But it still seems like a good idea if puppet and hiera respected both paths. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Kylo Ginsberg commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake Nick Walker your understanding of the proposal matches mine for #1, but differs for #2 and #3, where my take is that both puppet and hiera would know to look first in $confdir and then in $codedir. This difference, between what you wrote and what I wrote, would be a no-op for consumers of the puppet-agent package (short of installing puppet-agent and deleting $confdir/hiera.yaml), but would appease the semver gods wrt breaking contracts and allow us to introduce this change in a Y release rather than an X release. If we go this route, I'd also recommend that we add release notes to puppet-agent (and PE) recommending that users who've modified $codedir/hiera.yaml should move their $codedir/hiera.yaml to $confdir/hiera.yaml. However, I don't have a good feeling for whether a documentation note is sufficient or if we would need to offer additional tooling, etc. Thoughts? Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Nick Walker commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake Kylo Ginsberg if the package lays down hiera.yaml from the package into $confdir then users who update would have the stock hiera.yaml instead of the one they want from $codedir right? Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Rob Reynolds commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake What Nick Walker said. If there is no plan to handle the existing, it does incur a major version bump. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Nick Walker commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake Can someone describe the following items for me? Preferably in the current state and the proposed state. 1. Where does the puppet-agent package lay down hiera.yaml? 2. Where is hiera_config configured to look for hiera.yaml by default in puppet? 3. Where does the hiera CLI tool look for hiera.yaml by default? My understanding of the proposal is: 1. To have the puppet-agent package lay down hiera.yaml in $confdir instead of $codedir 2. To have hiera_config look for hiera.yaml in $confdir instead of $codedir 3. TO have hiera CLI look for hiera.yaml in $confdir instead of $codedir However, Henrik Lindberg proposed a changed to the behavior of the hiera_config setting in puppet and the hiera CLI to look in the $confidir first and then fall back to $codedir if a file does not exist in $confdir. The only part I don't understand about that proposal is where packaging will put hiera.yaml because if it puts a default into $confdir then the fallback logic will not have its intended use. Will packaging have to check for an existing file and decide what to do from there? Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Henrik Lindberg assigned an issue to Kylo Ginsberg Hiera / HI-490 Location of hiera.yaml in puppet-agent 1.x is a mistake Change By: Henrik Lindberg Assignee: Kylo Ginsberg Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Nicholas Fagerlund commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake Are we still in agreement that hiera.yaml (puppet lookup version, AKA "hiera.yaml, not to be confused with hiera.yaml," AKA "v4," AKA "v4 not to be confused with Puppet 4's hiera.yaml") is purely code and NOT configuration, and thus should continue to live in each environment? Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Eric Sorenson commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake Are we still in agreement that v4 hiera.yaml is purely code and NOT configuration, and thus should continue to live in each environment? Emphatic yes; it removes the ambiguous parts of the 1.x hiera file which make it configuration and actually works inside an environment (i.e. can be checked in and promoted through environments alongside the puppet code whose behaviour it modifies). Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Eric Sorenson created an issue Hiera / HI-490 Location of hiera.yaml in puppet-agent 1.x is a mistake Issue Type: Bug Assignee: Unassigned Created: 2016/01/13 10:27 AM Priority: Normal Reporter: Eric Sorenson The outcome of [PE-13367] was widespread agreement that the location of hiera.yaml in the current iteration is incorrect. I recall debate about this back when we were enumerating the path specification; the crux of the problem is that hiera.yaml is both a configuration file (location of the datadir setting, merge behaviour, etc) and "code" (the hierarchy). We landed in the wrong place on this, unfortunately, once people started using the code directory in the wild, in combination with r10k and PE Code Manager. As Charlie Sharpsteen points out: Hiera supports pluggable backends, notably hiera-eyaml, which may require package installation and other bits of non-trivial configuration. The Puppet Agent makes better sense as a management tool than a vcs system In general, I'd say that file sync shouldn't track anything that code manager can't deploy. Which vcs branch would hiera.yaml even live in given that it exists above the environments directory? So we need to move it back into confdir - this ticket is to explore the ramifications of that change and figure out how we can do it with as little user disruption as possible.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Steve Barlow updated an issue Hiera / HI-490 Location of hiera.yaml in puppet-agent 1.x is a mistake Change By: Steve Barlow Priority: Normal Critical Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Henrik Lindberg commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake Reminder: we need to tag the specifications repo whenever we release. A more elaborate process around versions of the spec, and stating compliance is probably needed... (here is not the place for talking about that though). Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Steve Barlow updated an issue Hiera / HI-490 Location of hiera.yaml in puppet-agent 1.x is a mistake Change By: Steve Barlow Sprint: Language Triage Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Henrik Lindberg commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake Would this work: if you have a confdir located hiera.yaml it takes precedence over the current 4.x location. I think this will work since directories changed anyway, and there will not be installations with a hiera.yaml in the new location. This way, no major version change is required. You just move your file(s) and it is then easier to maintain. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Steve Barlow commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake 1. Do we need to migrate people's existing stuff 3.x to agent migration (upgrade module) previous version of agent to newer version 2. Dealing with the semver question Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Kylo Ginsberg commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake https://github.com/puppetlabs/puppet-specifications/pull/61 Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-490) Location of hiera.yaml in puppet-agent 1.x is a mistake
Title: Message Title Henrik Lindberg commented on HI-490 Re: Location of hiera.yaml in puppet-agent 1.x is a mistake You may want to have the option to move when upgrading instead of staying on the old scheme. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.