You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When packaging up a profile using inspec archive the tarball/zip that gets created is simple <profilename.tar.gz>
This makes it difficult to do custom downloads without chef compliance server and other distribution methods, as versioning them becomes difficult.
InSpec and Platform Version
inspec 1.7.1 train 0.22.0
Replication Case
Simple create a profile and run inspec archive <path>
Possible Solutions
It seems reasonably easy to have the created tarball be <profilename>-<version>.tar.gz
Stacktrace
inspec archive inspec-pcs --diagnose
InSpec version: 1.7.1
Train version: 0.22.0
Command line configuration:
{"zip"=>false,
"tar"=>false,
"overwrite"=>false,
"ignore_errors"=>false,
"diagnose"=>true}
JSON configuration file:
{}
Merged configuration:
{"zip"=>false,
"tar"=>false,
"overwrite"=>false,
"ignore_errors"=>false,
"diagnose"=>true}
I, [2016-12-08T14:17:06.725656 #67115] INFO -- : Checking profile in inspec-pcs
I, [2016-12-08T14:17:06.725725 #67115] INFO -- : Metadata OK.
I, [2016-12-08T14:17:06.787953 #67115] INFO -- : Found 5 controls.
W, [2016-12-08T14:17:06.788011 #67115] WARN -- : Control pcs cluster status has no description
W, [2016-12-08T14:17:06.788040 #67115] WARN -- : Control pcs links has no description
W, [2016-12-08T14:17:06.788053 #67115] WARN -- : Control PCS License Status has no description
W, [2016-12-08T14:17:06.788063 #67115] WARN -- : Control pcs mounts has no description
W, [2016-12-08T14:17:06.788074 #67115] WARN -- : Control pcs services has no description
I, [2016-12-08T14:17:06.788272 #67115] INFO -- : Archive /Users/Lee/git/pcs.tar.gz exists already. Use --overwrite.
The text was updated successfully, but these errors were encountered:
Description
When packaging up a profile using
inspec archive
the tarball/zip that gets created is simple<profilename.tar.gz>
This makes it difficult to do custom downloads without chef compliance server and other distribution methods, as versioning them becomes difficult.
InSpec and Platform Version
inspec 1.7.1
train 0.22.0
Replication Case
Simple create a profile and run
inspec archive <path>
Possible Solutions
It seems reasonably easy to have the created tarball be
<profilename>-<version>.tar.gz
Stacktrace
The text was updated successfully, but these errors were encountered: