Pack maintenance
Now that we have created a brand-new component and a pack, we must maintain them. In general, there are various things we can do to maintain our new pack (and existing packs) in OneOps, such as adding extra attributes, disabling the pack, setting policies and so on. As mentioned earlier we can add extra attributes to metadata.rb
to get more input from users and make the installation more interactive. A good guideline is to look at the default.rb
file in the attributes directory. This file provides the default value for a lot of variables that are not explicitly supplied when we construct our assembly.
As you can see, we can very well offer the installation directory as well as db_user
and db_password
as input fields to the user, thus allowing them more control over the installation. You have two ways of disabling a pack. One is by setting the option ignore
to true
or false
in the pack. If set to true
the pack is not reloaded or updated in OneOps. The second way is using...