Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Practical OneOps

You're reading from   Practical OneOps Implement DevOps with ease

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781786461995
Length 266 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Nilesh Nimkar Nilesh Nimkar
Author Profile Icon Nilesh Nimkar
Nilesh Nimkar
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Getting Started with OneOps FREE CHAPTER 2. Understanding the OneOps Architecture 3. OneOps Application Life Cycle 4. OneOps Enterprise Deployment 5. Practical Deployment Scenario 6. Managing Your OneOps 7. Working with Functional Components 8. Building Components for OneOps 9. Adding and Managing OneOps Components 10. Adding Your Own Cloud to OneOps 11. Integrating with OneOps Using API

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image