You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This forces the $plugin_parent_dir to be a directory. In our case, we have defined it to be a symbolic link, now erased. And all jenkins rules now start against a new empty dir.
I don't understand why the plugin class should do that: Jenkins installation and Jenkins user are requirements for this class.
The text was updated successfully, but these errors were encountered:
The management of the basic dependencies of a Jenkins plugin should not
be unnecessarily forced on the user.
This change adds a new boolean parameter, `$manage_dependencies`, to
allow the user to specify whether or not jenkins::plugin will create
these dependencies. The default is true to support backwards
compatibility.
When set to false, the `/var/lib/jenkins` directory, the jenkins user
and the jenkins group are expected to be defined elsewhere or already
exist.
In addition, the plugin_parent_dir resource is checked for a previously
defined resource before being created in the same way that the
plugin_dir, user and group are checked.
Specific tests were created for the new parameter and they verify that
plugin_dir is created whether `$manage_dependencies` is true or false.
This fixesvoxpupuli#148 in a more backwards compatible way than voxpupuli#149.
dbeckham
added a commit
to dealnews/puppet-jenkins
that referenced
this issue
Jul 31, 2014
The management of the basic dependencies of a Jenkins plugin should not
be unnecessarily forced on the user. This change wraps the plugin_parent_dir
resource creation in a `defined` function to allow the user to create the
Jenkins home directory themselves if necessary.
This fixesvoxpupuli#148 in a more backwards compatible way than voxpupuli#149.
In manifests/plugin.pp:
This forces the $plugin_parent_dir to be a directory. In our case, we have defined it to be a symbolic link, now erased. And all jenkins rules now start against a new empty dir.
I don't understand why the plugin class should do that: Jenkins installation and Jenkins user are requirements for this class.
The text was updated successfully, but these errors were encountered: