Commit Graph

13 Commits

Author SHA1 Message Date
Monty Taylor eafdbf9593 Add flag to control logging the rsyncs
rsyncing the puppet modules can be super chatty and not super
interesting. Add a flag to turn it off.

Change-Id: I7206955aeb335adafb8625c89d8b8a70078d666c
2020-04-30 08:45:59 -05:00
Monty Taylor 7fc585e1ab
Allow overiding the remote hieradata link dest
In order to support the layouts being different on the management server
and the remote nodes, we need to also be able to override the location
of the link that gets made. Add a variable that defaults to the old
value.

Change-Id: I7434c1b1a9d79f04b3e872e750057d69490e80e0
2018-08-17 13:43:46 -05:00
Monty Taylor 0a3c32b5ac
Add ability to override mgmt manifest path
We have it currently hardcoded that the manifests on the management
server are going to have an environment path. Add a variable to allow
override of that idea.

Change-Id: I226c030332ff93c3ee74650c7ab725994971f007
Needed-By: https://review.openstack.org/592763
2018-08-17 05:21:53 -05:00
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
Paul Belanger edb0e245d5 Expose puppet_timeout variable
It is possible we want our puppet role to run longer then 30mins,
expose the ability for a user to change it.

Change-Id: Id42ba80a5118a9f93e45619ac6ecc5baa774549a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-01-12 14:14:56 -05:00
Monty Taylor a3cc1c5c9a
Make sure environment winds up in basemodulepath
Change-Id: I7a80158fef3fd764000f7d57a56ebf0df83347ea
2016-10-01 08:11:12 -07:00
Jenkins 54fabcffd1 Merge "Fix hiera paths when configuring puppet" 2016-02-25 22:28:19 +00:00
Yolanda Robla 28d495af61 Add extra path for our own puppet modules in environment
Change-Id: Ic501a34f79325bd2032c43f7ca36f19cae16e3e5
2016-02-25 23:07:22 +01:00
Yolanda Robla 8255eecc9b Fix hiera paths when configuring puppet
The path to hiera was wrong, as long with the subdirectories

Change-Id: I66873aa63fe6bb4ab68b5be7ae14a06479c5bfbc
2016-02-25 22:39:55 +01: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
Monty Taylor f2a57670a7 Define defaults as defaults, not variables
Defining them as variables overrides the local group_vars defined in
system-config. But these are defaults, not the actual variables.

Change-Id: I40acef591a22005434960af1ee13497c963df7d9
2016-01-18 19:41:56 -05:00
Monty Taylor 50173449a6 Add all of the files needed to make this a role
Similar to puppet modules, ansible roles can be uploaded to ansible
galaxy and can be consumed in a role-per-repo manner.
2015-02-22 22:59:39 -05:00