Jira (PUP-6048) error running puppet with non existing and non default environment

2017-05-16 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6048 
 
 
 
  error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Labels:
 
 needs_decision  triaged 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6048) error running puppet with non existing and non default environment

2017-05-16 Thread Sean McDonald (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Sean McDonald updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6048 
 
 
 
  error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 

Change By:
 
 Sean McDonald 
 
 
 

Labels:
 
 needs_decision  triaged 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6048) error running puppet with non existing and non default environment

2017-05-16 Thread Sean McDonald (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Sean McDonald updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6048 
 
 
 
  error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 

Change By:
 
 Sean McDonald 
 
 
 

Labels:
 
 needs_decision 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6048) error running puppet with non existing and non default environment

2017-05-16 Thread Sean McDonald (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Sean McDonald updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6048 
 
 
 
  error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 

Change By:
 
 Sean McDonald 
 
 
 

Team:
 
 Agent 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6048) error running puppet with non existing and non default environment

2017-02-09 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6048 
 
 
 
  error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 

Change By:
 
 Branan Riley 
 
 
 

Assignee:
 
 Branan Riley 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6048) error running puppet with non existing and non default environment

2017-02-09 Thread Branan Riley (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Branan Riley assigned an issue to Branan Riley 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6048 
 
 
 
  error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 

Change By:
 
 Branan Riley 
 
 
 

Assignee:
 
 Kylo Ginsberg Branan Riley 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6048) error running puppet with non existing and non default environment

2016-10-05 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
Erik Hansen Not sure I understand that problem. Looks like a discussion topic that is perhaps best dealt with interactively in chat or email before logging a ticket? In any case, it is different than what is in this ticket. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6048) error running puppet with non existing and non default environment

2016-10-04 Thread Erik Hansen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Erik Hansen commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
Henrik Lindberg Kylo Ginsberg There might be something else to consider here, and maybe a separate ticket needs to be created, but AFAIK the puppet fact "agent_specified_environment" is only populated when the environment is specified in the [main] section.  
If you want to use that fact, but are hitting this issue and put the environment setting in the [agent] section to avoid it, then you would kind of be out of luck. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-6048) error running puppet with non existing and non default environment

2016-04-22 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
Ping Jorie Tappa. See question 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 (PUP-6048) error running puppet with non existing and non default environment

2016-04-07 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
Jorie Tappa is there a documentation ticket needed for the documentation update proposed above? If so, can you link it here? Thanks! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-04-06 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
Kylo Ginsberg seems this ticket is now resolved 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-22 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
Jorie Tappa we have a documentation update needed as an outcome of the conversation in this thread. See Reinhard Vicinus's comment above for possible content of the documentation update. 
Reinhard Vicinus: thanks for all your help working through this issue! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-22 Thread Reinhard Vicinus (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Reinhard Vicinus commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
I would at least also update the following section of the documentation: 
 
 
 
 
 
 
Assigning Environments Via the Agent’s Config File 
 
 
 
 
  
 
 
 
 
In puppet.conf on each agent node, you can set the environment setting in either the agent  
 
 
 
 
or main config section.
 
 
 
 
 
 
 
And make it clear, that if the agent has no directory based environments, because it is no master node and uses only remote environments from the master nodes, then the environment should be set in the agent section of puppet.conf. Conversely if there are directory based environments, then setting the environment via the main section is the correct approach. I'm not sure if there are exceptions to this rule, at the moment I can't think of any. 
I closed the pull request and removed the link to it. Please let me know if that was a mistake, that I won't repeat it the next time. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 

Jira (PUP-6048) error running puppet with non existing and non default environment

2016-03-22 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
Given that the solution space here is large and complex and that the workaround is straightforward - create a directory with the environment name in question - my suggestion at this point is to note this in documentation and mark this as Won't Fix. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-20 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
The other issue I was thinking of was 

PUP-4954
, but it's actually different in scope. Just mentioning that here for completeness. 
Josh P's idea of adding a new setting to specify the environment an agent asks of its master could fly although: a) I have a little concern about how easy it will be to disentangle use (3) from uses (1) and (2) b) I'm wondering how that would interact with the agent-specified ("canary") workflows. 
/cc Michael Smith who has looked into the agent-specified environment workflows a fair bit. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-19 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
Agreed that the environment setting means multiple things, and gets confusing. 
puppet help doesn't really need to know the environment, so I agree that could be made to work without it present. puppet apply certainly requires the environment directory, and puppet agent obviously doesn't. 
Most other commands expect an environment and will make use of it, but shouldn't require one because they make sense to run on an agent (facts, resource, config); those could potentially be changed to verify the environment setting matches the last cached run to ensure they're run in a consistent environment, but make the environment directory optional. I think it'd be some work - but not too messy - to identify those commands and create a workflow for verified optional directory environments. Switching between agent and apply runs would then potentially require some cleanup if you also want to change environments. 
Canary workflows are interesting more for their side-effects than direct requirements: they're just another puppet agent run, so they'll work fine if the local directory environment doesn't exist. However, after doing a canary run you have a different environment cached locally; if you want to then perform other operations that operate on an environment, it makes sense to error if the environment isn't the canary environment you just joined (until you do another puppet agent run to rejoin the original environment). That won't happen currently, but would happen given the workflow I mentioned above where it verifies against the cached 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 

Jira (PUP-6048) error running puppet with non existing and non default environment

2016-03-19 Thread Thomas Mueller (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Thomas Mueller commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
It isn't clear to me if this also would be fixed by this ticket:  
 

puppet manages environment=myfeature in puppet.conf (env set by ENC)
 

puppet agent run -> OK
 

delete the environment from the puppet master, set new env in ENC
 

puppet agen run fails because it can't find the old environment defined in puppet.conf altough a valid environment is defined by ENC
 
 
? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-18 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
We should not confuse "a directory containing things for an environment" with an actual instance of an Environment used inside Puppet at runtime. There is always an Environment when something runs even if it is just the root environment consisting only of the puppet installation. 
Since most things can be delivered in modules, and modules can be different in different environments commands that operate on such things must naturally have access to an environment. As an example, asking for help for something that only exists in one environment. Custom facts that only exists in one environment etc. 
We must also differentiate between a local environment and one that is remote. In the master and apply cases the environment is local (it exists on disk on the host). On an agent, it can be one or the other depending on if it is configured to do both masterless and master controlled runs. Something that is configured for master runs naturally always has a local root environment (the installed puppet). 
Any act that involves an environment that is remote should ideally make sure that the local information about the remote environment is up to date (including if it exists or not), but it could possibly be allowed to act on its current local state. 
Is the distinction between local and remote controlled by using --mode master or --mode agent ? How do you otherwise know when asking for help about something where it is supposed to get the information from? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 

Jira (PUP-6048) error running puppet with non existing and non default environment

2016-03-15 Thread Joshua Partlow (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Joshua Partlow commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
Right, thinking about it afterwords, I realized that the problem is that we're using the environment setting to mean multiple things. 
1) environment => the codepath the compiler should use when loading manifests 2) environment => the libpath Puppet uses as (one) of the paths to search for code relating to its own execution (faces, etc.) 3) environment => the environment we want the agent to place in its requests to the master 
If you are using an ENC, then you don't need to use case 3, but if you are relying on the agent's configuration to assign the environment, then yes you run into this issue where the environment directory needs to be present on the agent to avoid other invocations of puppet from complaining when they are using case 2 locally on the agent. 
I suppose case 3 could be a different setting (because we certainly need more settings  
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-15 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
The agent is running in a "remote environment". That remote environment is represented locally (a bunch of plugin-synced stuff + puppet itself), but commands that are primarily master side (or master-less apply), does not handle those as they expect a directory based 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-15 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
Is it fair to describe the problem that you have an otherwise working configuration on the agent, but if you try to run certain commands those fail because the environment in question does not exist on the agent - so anything agent local using a "non production" environment fails? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-15 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
I see now. The issue is around puppet agents running in master mode, but with agent-specified environments. I think there's another related issue; I'll see if I can run it down. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-15 Thread Reinhard Vicinus (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Reinhard Vicinus commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
The environment does exist, but only on the puppet master nodes, on non puppet master nodes there is no need for environments at all (other then the configuration which environment on the puppet master should be used).  
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-15 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
Reinhard Vicinus While it can be argued that puppet help should always work, you should not use environments that do not exist. What would be meaningful about that? The environment is the top level container for all the puppet things, if you use one that does not exist that could only mean that the container is empty - no code, no modulepath, no modules, no manifests, no data, nothing. While there are defaults for those, they apply to something that should exist and relative to where it exists. 
So, a bit confused about what it is you are trying to do here... 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-15 Thread Reinhard Vicinus (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Reinhard Vicinus commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
My problem is, that as far as i can tell, it is a supported approach to configure on all puppet nodes, via the main section in the puppet.conf file, the environment to something other then production. If that is the case then, in my opinion, there should not be the need to setup the configured environment to use puppet help etc. on non puppet master nodes. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-14 Thread Joshua Partlow (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Joshua Partlow commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
Setting a non-existent environment in puppet.conf should throw an error, and does by my testing, in 4.3.2. The exception is the default production environment which Henrik mentioned. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-13 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6048 
 
 
 
  error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Scrum Team:
 
 Client Platform 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-13 Thread Reinhard Vicinus (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Reinhard Vicinus commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
It's easily testable: 
 

install puppet agent on a new vm/computer
 

test that puppet help works
 

append non existing environment to configuration: 
 
 
 
 
 
 
 echo "[main]" >> /etc/puppetlabs/puppet/puppet.conf 
 
 
 
 
 echo "environment=test" >> /etc/puppetlabs/puppet/puppet.conf
 
 
 
 
 
 

 

test that puppet help no longer works
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 

Jira (PUP-6048) error running puppet with non existing and non default environment

2016-03-13 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
Well, I think specifying a non-existent environment in puppet.conf does not throw errors. If so, that's inconsistent with the CLI behavior. Hmmm, more poking at this needed. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 (PUP-6048) error running puppet with non existing and non default environment

2016-03-13 Thread Reinhard Vicinus (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Reinhard Vicinus commented on  PUP-6048 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 
 
Here is a part of your environment documentation: 
 
 
 
 
 
 
Assigning Environments Via the Agent’s Config File 
 
 
 
 
  
 
 
 
 
In puppet.conf on each agent node, you can set the environment setting in either the agent or main config section.
 
 
 
 
 
 
 
I would expect that if I assign a environment via the main config section, that then puppet help etc. will still work. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 

Jira (PUP-6048) error running puppet with non existing and non default environment

2016-03-13 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6048 
 
 
 
  error running puppet with non existing and non default environment   
 
 
 
 
 
 
 
 
 

Change By:
 
 Kylo Ginsberg 
 
 
 

Summary:
 
 error running puppet  facts  with non existing and non default 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.