Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package google-osconfig-agent for 
openSUSE:Factory checked in at 2022-02-09 20:39:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/google-osconfig-agent (Old)
 and      /work/SRC/openSUSE:Factory/.google-osconfig-agent.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "google-osconfig-agent"

Wed Feb  9 20:39:25 2022 rev:10 rq:952757 version:20220204.00

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/google-osconfig-agent/google-osconfig-agent.changes  
    2021-12-02 02:13:53.366912426 +0100
+++ 
/work/SRC/openSUSE:Factory/.google-osconfig-agent.new.1898/google-osconfig-agent.changes
    2022-02-09 20:40:34.978574445 +0100
@@ -1,0 +2,8 @@
+Tue Feb  8 15:48:20 UTC 2022 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to version 20220204.00 (bsc#1195437, bsc#1195438)
+  * Add DisableLocalLogging option (#413)
+- from version 20220107.00
+  * OS assignment example: Copy file from bucket
+
+-------------------------------------------------------------------

Old:
----
  osconfig-20211117.00.tar.gz

New:
----
  osconfig-20220204.00.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ google-osconfig-agent.spec ++++++
--- /var/tmp/diff_new_pack.bM54nQ/_old  2022-02-09 20:40:36.118577172 +0100
+++ /var/tmp/diff_new_pack.bM54nQ/_new  2022-02-09 20:40:36.122577181 +0100
@@ -24,7 +24,7 @@
 %global import_path     %{provider_prefix}
 
 Name:           google-osconfig-agent
-Version:        20211117.00
+Version:        20220204.00
 Release:        0
 Summary:        Google Cloud Guest Agent
 License:        Apache-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.bM54nQ/_old  2022-02-09 20:40:36.174577306 +0100
+++ /var/tmp/diff_new_pack.bM54nQ/_new  2022-02-09 20:40:36.178577315 +0100
@@ -3,8 +3,8 @@
     <param name="url">https://github.com/GoogleCloudPlatform/osconfig</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="versionformat">20211117.00</param>
-    <param name="revision">20211117.00</param>
+    <param name="versionformat">20220204.00</param>
+    <param name="revision">20220204.00</param>
     <param name="changesgenerate">enable</param>
   </service>
   <service name="recompress" mode="disabled">
@@ -15,7 +15,7 @@
     <param name="basename">osconfig</param>
   </service>
   <service name="go_modules" mode="disabled">
-    <param name="archive">osconfig-20211117.00.tar.gz</param>
+    <param name="archive">osconfig-20220204.00.tar.gz</param>
   </service>
 </services>
 

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.bM54nQ/_old  2022-02-09 20:40:36.198577363 +0100
+++ /var/tmp/diff_new_pack.bM54nQ/_new  2022-02-09 20:40:36.198577363 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/GoogleCloudPlatform/osconfig</param>
-              <param 
name="changesrevision">90dc87cc9d87449df0278b0c7068aca18d08c003</param></service></servicedata>
+              <param 
name="changesrevision">999091e65d891eb393253c836c3457a9018ecb0e</param></service></servicedata>
 (No newline at EOF)
 

++++++ osconfig-20211117.00.tar.gz -> osconfig-20220204.00.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osconfig-20211117.00/agentconfig/agentconfig.go 
new/osconfig-20220204.00/agentconfig/agentconfig.go
--- old/osconfig-20211117.00/agentconfig/agentconfig.go 2021-11-17 
18:46:52.000000000 +0100
+++ new/osconfig-20220204.00/agentconfig/agentconfig.go 2022-02-01 
19:49:59.000000000 +0100
@@ -84,9 +84,10 @@
 )
 
 var (
-       endpoint = flag.String("endpoint", prodEndpoint, "osconfig endpoint 
override")
-       debug    = flag.Bool("debug", false, "set debug log verbosity")
-       stdout   = flag.Bool("stdout", false, "log to stdout")
+       endpoint            = flag.String("endpoint", prodEndpoint, "osconfig 
endpoint override")
+       debug               = flag.Bool("debug", false, "set debug log 
verbosity")
+       stdout              = flag.Bool("stdout", false, "log to stdout")
+       disableLocalLogging = flag.Bool("disable_local_logging", false, 
"disable logging using event log or syslog")
 
        agentConfig   = &config{}
        agentConfigMx sync.RWMutex
@@ -510,6 +511,11 @@
        return *stdout
 }
 
+// DisableLocalLogging flag.
+func DisableLocalLogging() bool {
+       return *disableLocalLogging
+}
+
 // SvcEndpoint is the OS Config service endpoint.
 func SvcEndpoint() string {
        return getAgentConfig().svcEndpoint
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/osconfig-20211117.00/examples/OSPolicyAssignments/gcloud/copy_file_from_bucket.yaml
 
new/osconfig-20220204.00/examples/OSPolicyAssignments/gcloud/copy_file_from_bucket.yaml
--- 
old/osconfig-20211117.00/examples/OSPolicyAssignments/gcloud/copy_file_from_bucket.yaml
     1970-01-01 01:00:00.000000000 +0100
+++ 
new/osconfig-20220204.00/examples/OSPolicyAssignments/gcloud/copy_file_from_bucket.yaml
     2022-02-01 19:49:59.000000000 +0100
@@ -0,0 +1,25 @@
+# An OS policy assignment to copy file from GCS bucket.
+osPolicies:
+  - mode: ENFORCEMENT
+    id: copy-file-from-bucket
+    resourceGroups:
+      - resources:
+          - file:
+              id: copy-file
+              permissions: '755'
+              state: CONTENTS_MATCH
+              file:
+                gcs:
+                  bucket: <your-bucket-name>
+                  generation: 123456789 # 
https://cloud.google.com/storage/docs/generations-preconditions
+                  object: test.txt
+              path: C:\<your-local-path>
+instanceFilter:
+  inclusionLabels:
+    - labels:
+        env: dev
+rollout:
+  disruptionBudget:
+    fixed: 10
+  minWaitDuration: 300s
+  
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osconfig-20211117.00/main.go 
new/osconfig-20220204.00/main.go
--- old/osconfig-20211117.00/main.go    2021-11-17 18:46:52.000000000 +0100
+++ new/osconfig-20220204.00/main.go    2022-02-01 19:49:59.000000000 +0100
@@ -96,7 +96,7 @@
 
 func run(ctx context.Context) {
        // Setup logging.
-       opts := logger.LogOpts{LoggerName: "OSConfigAgent", UserAgent: 
agentconfig.UserAgent()}
+       opts := logger.LogOpts{LoggerName: "OSConfigAgent", UserAgent: 
agentconfig.UserAgent(), DisableLocalLogging: agentconfig.DisableLocalLogging()}
        if agentconfig.Stdout() {
                opts.Writers = []io.Writer{os.Stdout}
        }

++++++ vendor.tar.gz ++++++

Reply via email to