# A class for an eady start with trocla. # This will install and configure trocla with the # default yaml storage. # # [*data_file*] Where to store the passwords. # Default: /var/lib/trocla/trocla_data.yaml # This should be managed using the package. class trocla::yaml( $data_file = '/var/lib/trocla/trocla_data.yaml', ) { class{'trocla::config': store => 'moneta', store_options => { adapter => 'YAML', adapter_options => { file => $data_file, }, }, } file{$data_file: ensure => file, owner => puppet, group => 0, mode => '0600'; } }