Implementing own execution and state modules in SALT

Automate things where noone has gone before...

jh23453

Playlists: 'osc23' videos starting here / audio

We are using SALT to deploy SUSE Systems for production. The included modules work well for usual problems.

But what needs to be done if you want to integrate a software system (or part thereof) where there are no modules available? Calling out to shell commands won't work to well for complex tasks.

You'll find the slides at https://www.jochen.org/vortraege/implementing-salt-modules.pdf

We've implemented - as part of a bigger automation effort - some SALT modules to configure our SAP HANA applications for better integration into the automation machinery.

I'll present our motivation for implementing execution and state modules, how you can start implementing and testing them.

In my experience the function signatures of the modules are the key to useful state modules, so I'll take a look at our modules and discuss the experiences gained in using them. Is the effort worth the gain? My answer is "yes".

Some basic programming skills and Python will be helpful for understanding, but not required.

We are using SALT to deploy SUSE Systems for production. The included modules work well for usual problems.

But what needs to be done if you want to integrate a software system (or part thereof) where there are no modules available? Calling out to shell commands won't work to well for complex tasks.

You'll find the slides at https://www.jochen.org/vortraege/implementing-salt-modules.pdf

We've implemented - as part of a bigger automation effort - some SALT modules to configure our SAP HANA applications for better integration into the automation machinery.

I'll present our motivation for implementing execution and state modules, how you can start implementing and testing them.

In my experience the function signatures of the modules are the key to useful state modules, so I'll take a look at our modules and discuss the experiences gained in using them. Is the effort worth the gain? My answer is "yes".

Some basic programming skills and Python will be helpful for understanding, but not required.

Download

Embed

Share:

Tags