Commit Graph

4 Commits

Author SHA1 Message Date
Colleen Murphy f0cd27f060 Add parser = future config option to puppet.conf
Enable testing puppet 3 with the future parser[1] by adding the boolean
parameter 'futureparser' to the role, which will turn on `parser =
future` in puppet.conf if set.

[1] https://docs.puppet.com/puppet/3.8/experiments_future.html

Change-Id: Ia65948ba954457d873758ed08502e844151f5cf5
2018-06-05 22:38:48 +02:00
Colleen Murphy 4d64868882 Don't hardcode puppet-3-specific config paths
This patch ensures that hiera data and puppet modules, and puppet config
are copied to the right directory depending on the current puppet
version. Since it's possible for the ansible management server and the
managed nodes to have different puppet versions, we need to account for
the possibility that the source and destination paths might be
different. We also don't need to hardcode the various config paths in
config or manage environments since we're using the defaults and
hardcoding them would make them incorrect for one or the other puppet
versions.

Change-Id: I164f91f9a7942e8c5f059652634ec1078ae41aae
2018-04-22 00:13:21 +02:00
Monty Taylor a3cc1c5c9a
Make sure environment winds up in basemodulepath
Change-Id: I7a80158fef3fd764000f7d57a56ebf0df83347ea
2016-10-01 08:11:12 -07:00
Spencer Krum 25cc2c9470 Conditionally manage puppet config files
Allows ansible-puppet to configure settings for
puppet when manage_config flag is set.

Co-Authored-By: Yolanda Robla <info@ysoft.biz>

Change-Id: I6cb8dff569f2cca8bca7359412d01cc7ec009c54
2016-02-05 09:22:47 +01:00