Skip to content
This repository was archived by the owner on Feb 17, 2023. It is now read-only.
This repository was archived by the owner on Feb 17, 2023. It is now read-only.

cf-sketch unable to generate parameter set #456

@hubert-krause

Description

@hubert-krause

I've got a problem to use cf-sketch on debian jessie. I am unable to generate parameter set.
Exact OS-Version:

cat /etc/debian_version 
8.1

I am using the newest cf-engine version installed from:

cat /etc/apt/sources.list.d/cfengine-community.list 
deb http://cfengine.com/pub/apt/packages stable main

I try to remove traces from old design-center install at first,
by removing Files not tracked by my git-repository I use on
/var/cfengine/masterfiles. I have followed this guide to install:

https://docs.cfengine.com/docs/master/guide-design-center-configure-sketches-community.html

I put the right values into http_proxy and https_proxy for my environmen
and Installed: libjson-perl, libjson-pp-perl, libjson-multivalueordered-perl,
libterm-readline-gnu-perl, wget and curl.

First strange thing appeared after calling ./cf-sketch.pl:

Possible precedence issue with control flow operator at /root/source/design-center/tools/cf-sketch/perl-lib/JSON-2.53/lib/JSON/backportPP.pm line 1570.

Everything else is as expected. From that poin I have installed System::motd
as discribed in documentation the list command gives different output to what
is described in documentation:

list

The following sketches are installed:

CFEngine::sketch_template Standard template for Design Center sketches
System::motd Configure the Message of the Day

Then I start to set the Parameter. I use the default name for the parameter
set (System::motd-entry-000). The first value is 'Hello there!' but entering
the motd_path ends in

Error: Invalid validate command: unknown validation key

Only rescue is the use of STOP and return which gives:

Use of uninitialized value $ret in string eq at /root/source/design-center/tools/cf-sketch/perl-lib/Parser/Commands/17define.pl line 264.
Cancelling configuration.

If you need aditional information, please ask.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions