Skip to content

A simple juju charm to write a single config option into a charm. Usually a configfile in /etc/

License

Notifications You must be signed in to change notification settings

tbaumann/jujucharm-configfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This charm will manage a individual custom config file. Additionally it can restart a system service if the file content was changed.

Usage

juju deploy ubuntu

juju deploy configfile custommod

juju add-relation ubuntu custommod

juju config custommod filename=/etc/custommod.conf

juju config custommod restart_service=custommodd

juju config custommod content="FILE CONTENT"

This will result in a config file named /etc/custommod.conf containing "FILE CONTENT"

Configuration

The content of the 'content' field is directly written in the config file. No templating or syntax check is performed.

https://github.com/tbaumann/jujucharm-configfile

About

A simple juju charm to write a single config option into a charm. Usually a configfile in /etc/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published