How to disable Parser value future in Puppet enterprise 3.8.7 as modules wont support future parser

42 views
Skip to first unread message

Siva nagi reddy

unread,
Jul 27, 2017, 10:15:48 AM7/27/17
to Puppet Users
Hi,

My puppet enterprise 3.8.7 is installed with parser as future in puppet.conf and I want to disable this as by modules are not supported with future parser. I removed the value in puppet.conf and restarted the service to disable parser value but we still see the parser value in puppet conf. In our install answers file we have this value as y.

Do we need to reinstall complete Puppet enterprise to disable parser value or is there any way to disable ?

We have another master with same version in that we are not seeing this value and all our modules working fine with out any issues but in another master where the Parser is set to future is giving syntax errors due to incompatibility of new version of puppet.

Now we are not interested to upgrade modules to support future parser as we need deploy the product as soon as possible. We will consider changing modules as future enhancement.

Thanks and Regards,
Siva.

Henrik Lindberg

unread,
Jul 27, 2017, 11:59:49 AM7/27/17
to puppet...@googlegroups.com
The default setting for "parser" is "current", and it can be set to
"future". It is also possible to set the "parser" per environment (in
the environment's "environment.conf" file).

You can set it to "current" in the environment where you have not yet
migrated your modules. Then, when ready, simply remove that setting (if
your PE has "future" as the default.

Best,

- henrik

> --
> You received this message because you are subscribed to the Google
> Groups "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to puppet-users...@googlegroups.com
> <mailto:puppet-users...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/37e7e0b6-50be-4056-bfd4-8696e5408a54%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/37e7e0b6-50be-4056-bfd4-8696e5408a54%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.


--

Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/

Siva nagi reddy

unread,
Jul 27, 2017, 12:25:28 PM7/27/17
to Puppet Users
Hi Henrik,

Thanks for your response. 

We are not using any environment approach in our master. We are directly using /etc/puppetlabs/puppet/modules and manifests directory and one more thing is we created non root user account to deploy our modules on agents.In non root account configuration we have current for parser value as shown below but while running modules I get syntax errors. Please note we are able to deploy same modules in other environment with out any issues where parser is not present in puppet.conf file.
 

puppet config print | grep -i parser
parser = current

Environment DEV: 

1) We got sudo access to setup master and Agents 
2) Copy the modules to master 
3) Ran puppet agents with the account which has sudo access
4) Parser value is current and it is not present in puppet.conf file 
5) Everything went fin in this environment 

Environment TEST

1) We didnt get sudo access due to our policy 
2) Admin team setup master and agents and created non root account as per steps in puppet docs
3) We started running puppet agents same as environment DEV and started seeing syntax errors 
4) While debugging we understood our modules wont support latest puppet versions and these need to modify to work fine
5) We noticed parser value as future on puppet.conf then we though if we change it then our modules work 
4) Removed value parser in puppet.conf and restarted service with the help of admin 
5) After restart parser parameter is coming again with the value future and getting same errors while applying modules

Now our question is how can we disable parser value future in our environment ? Do we need to re-install PE? is there any better option in this case for us?

Regards,
Siva

Henrik Lindberg

unread,
Jul 28, 2017, 3:41:38 AM7/28/17
to puppet...@googlegroups.com
Sounds like the PE installation is managed and that manual changes are
reset with what you stated during install. Not sure if there is a
simpler way to change that setting than to reinstall PE. Since you are
using PE you can contact Puppet Support to get the help you need.

Best,
- henrik
Reply all
Reply to author
Forward
0 new messages